Doorway Safety sheets for
Back to Main Page\n";
# read in link information
//
//
$deptdir = opendir( $deptdirectoryname );
if( $deptdir )
{ $infofiles = readdir( $deptdir );
while( $infofiles )
{ //echo "$infofiles
\n"; // debug
if( preg_match( "/\.info$/", $infofiles) && !preg_match( "/[\._]bak/", $infofiles ) ) // && !preg_match( "/[\._]bak/", $infofiles )
{ $location = preg_split("/\./", $infofiles);
list( $bldg, $room ) = preg_split("/_/", $location[0]);
$links[$bldg] .= $room . '--';
}
$infofiles = readdir( $deptdir );
}
closedir( $deptdir );
}else
{ echo "Couldn't open directory.
\n